var frisby = require('frisby');

frisby.create('公司通告确认下载接口')
  .post('http://192.168.247.88:9090/hub/device/save-company-annunciate-updatelog', {
      'device-udid':'092700B6-2E6F-45D7-B55D-AEFACED48DDC',
      'json-value':Array//json-value=[{"company-annunciate-uuid":"通告uuid"},
    })

    // .inspectJSON()
  .expectJSONTypes('', {})//没有返回值
  .expectStatus(200)
.toss();

frisby.create('错误信息')
  .post('http://192.168.247.88:9090/hub/device/save-company-annunciate-updatelog', {
      'device-udid':'092700B6-2E6F-45D7-B55D-AEFACED48DDC',
      'json-value':Array
    })


    // .inspectJSON()
    .expectJSONTypes({
      'error-code':'013',
      'error-message':'错误信息'
    })
    .expectStatus(200)
.toss();
